﻿using ConsoleApp2.Service;
using ConsoleApp2.Models;

namespace ConsoleApp2.Impl;

public class UserRegisterServiceImpl : UserRegisterService
{
    private LocalUserSystemService localUserSystemService;

    public UserRegisterServiceImpl()
    {
        localUserSystemService = new LocalUserSystemServiceImpl();
    }

    public void Register(ConsoleApp2.Models.User user)
    {
        localUserSystemService.SaveUser(user);
    }
}